home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
batchut
/
callbat.zip
/
CALL.USE
< prev
next >
Wrap
Text File
|
1992-12-22
|
4KB
|
54 lines
CALL (c) 1992 Jim Groeneveld, NL. CALL command emulator for DOS « 3.3 .
---------------------------------------------------------------------------
CALL supports the CALL command of DOS versions 3.3 & higher for lower DOS
versions rather functionally. It replaces the only other alternative COMMAND/C.
It offers full compatibility with batch files (scripts) that include the CALL
command to run another batch file and to return to the original calling one.
This is especially useful with old hardware not allowing newer DOS versions.
The only limitation compared to the (real) DOS (3.3&up) CALL command as far as
I know is that the DOS environment can not be changed via these alternative
CALLs, because they in fact shell to a copy of DOS with only a copy of the
current environment. Thus the commands 'SET name=[contents]', 'PATH[=path]',
'PROMPT=[prompt]' from a CALLed batch file have no effect on the current
environment. This also applies to the only other alternative COMMAND/C.
There are two versions of CALL, one based upon standard DOS batch language
(compiled with a batch file compiler) and one in C. The "batch" version only
allows up to 9 replaceable parameters, while the C version allows more of them
(depending on the C compiler; one C compiler, PCC, would allow an unlimited
number, but has another important drawback; see the C source).
Rename either B2CCALL.COM to CALL.COM or CCALL.EXE to CALL.EXE, not both!
Usage B2CCALL: CALL batch [up to 9 replaceable command line parameters]
Usage CCALL: CALL batch [up to 31 replaceable command line parameters]
Put CALL.COM in your DOS directory which should be part of the DOS PATH.
For further info see the CALL batch command in DOS vs. 3.3 & higher manuals.
CALL.COM would allow for piping and redirection but that is not useful while
calling a batch file, so the DOS CALL limitation may be considered to apply.
CALL.B2C is the source for the BATch file compiler BAT2EXEC 1.5 (c) 1990,
1991 Ziff Communications Co. PC Magazine ■ Douglas Boling.
Use CALL.COM, not CALL.B2C if renamed to CALL.BAT.
---Contents of package--- version
CALL B2C 244 12-11-92 0:00a CALL, BATch source 0.0
B2CCALL COM 1024 12-11-92 0:00a CALL, compiled BATch 0.0
CALLTEST BAT 163 12-11-92 0:00a Test script for CALL
CALL USE 3528 12-22-92 0:10a This documentation file
CALL C 6889 12-22-92 0:10a CALL, C source 0.1
CCALL EXE 6462 12-22-92 0:10a CALL, compiled C 0.1
CALL.EXE has been compressed with LZEXE.EXE Vs. 0.91 (c) 1989 Fabrice BELLARD.
The memory used for the alternative CALL is more than used with the internal
CALL, because for each external CALL a copy of COMMAND.COM (or other shell
processor) is loaded (and depending on the C compiler and function used the
CALL program may remain loaded or not; this version doesn't remain loaded).
The extra temporary overhead, however, is small (between 5 and 15 kb).
Centrum voor Medische Informatica TNO «Email» │ │ │\/│
TNO Center for Medical Informatics │ GROENEVELD@CMI.TNO.NL │ \_/ │ │ │
( CMI-TNO ) │ Y. Groeneveld │ GROENEVELD@CMIHP1.UUCP │ Jim Groeneveld
P.O.Box 124 │ Wassenaarseweg 56 │ GROENEVELD@TNO.NL │ Schoolweg 14
2300 AC Leiden │ 2333 AL Leiden │ │ 8071 BC Nunspeet
Nederland. │ (+31│0)71-181810 │ Fax (+31│0)71-176382 │ 03412-60413